/*
 *  BuyTest.h
 *  SpaceTrader
 *
 *  Created by Andrew on 11/19/12.
 *  Copyright 2012 The Hex Pistols. All rights reserved.
 *
 */

#ifndef __SpaceTrader__BuyFuelTest__
#define __SpaceTrader__BuyFuelTest__

#include <iostream>
#include <cppunit/extensions/HelperMacros.h>
#include "Player.h"

#endif /* defined(__SpaceTrader__BuyTest__) */

class BuyTest : public CppUnit::TestFixture{
    CPPUNIT_TEST_SUITE(BuyTest);
    CPPUNIT_TEST(testIdealBuy);
    CPPUNIT_TEST(testNotEnoughCredits);
	CPPUNIT_TEST(testNotEnoughSpace);
    CPPUNIT_TEST_SUITE_END();
public:
    void setUp();
    void tearDown();
    void reset();
    
    void testIdealBuy();
	void testNotEnoughCredits();
    void testNotEnoughSpace();
private:
    Player *player;
};